package com.ruoyi.profession.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 其他证书信息对象 other_certificates
 * 
 * @author 靳双伟
 * @date 2024-06-01
 */
public class OtherCertificates extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 基本信息ID（外键） */
    @Excel(name = "基本信息ID", readConverterExp = "外=键")
    private Long basicInfoId;

    /** 证书 */
    @Excel(name = "证书")
    private String certificateName;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeAwarded;

    /** 级别 */
    @Excel(name = "级别")
    private String level;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 当时工作单位 */
    @Excel(name = "当时工作单位")
    private String thenWorkplace;

    /** 证书授予单位 */
    @Excel(name = "证书授予单位")
    private String certificateIssuer;

    /** 证书PDF件 */
    @Excel(name = "证书PDF件")
    private String certificatePdf;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBasicInfoId(Long basicInfoId) 
    {
        this.basicInfoId = basicInfoId;
    }

    public Long getBasicInfoId() 
    {
        return basicInfoId;
    }
    public void setCertificateName(String certificateName) 
    {
        this.certificateName = certificateName;
    }

    public String getCertificateName() 
    {
        return certificateName;
    }
    public void setTimeAwarded(Date timeAwarded) 
    {
        this.timeAwarded = timeAwarded;
    }

    public Date getTimeAwarded() 
    {
        return timeAwarded;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setThenWorkplace(String thenWorkplace) 
    {
        this.thenWorkplace = thenWorkplace;
    }

    public String getThenWorkplace() 
    {
        return thenWorkplace;
    }
    public void setCertificateIssuer(String certificateIssuer) 
    {
        this.certificateIssuer = certificateIssuer;
    }

    public String getCertificateIssuer() 
    {
        return certificateIssuer;
    }
    public void setCertificatePdf(String certificatePdf) 
    {
        this.certificatePdf = certificatePdf;
    }

    public String getCertificatePdf() 
    {
        return certificatePdf;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("basicInfoId", getBasicInfoId())
            .append("certificateName", getCertificateName())
            .append("timeAwarded", getTimeAwarded())
            .append("level", getLevel())
            .append("major", getMajor())
            .append("thenWorkplace", getThenWorkplace())
            .append("certificateIssuer", getCertificateIssuer())
            .append("certificatePdf", getCertificatePdf())
            .toString();
    }
}
